package com.kotlin.user.data.api

import com.kotlin.base.data.protocol.BaseResp
import retrofit2.http.POST
import retrofit2.http.Query
import rx.Observable

/**
 * @author Mr.Wang
 * @version v0.3.6
 * @time 2018/3/7
 * @describe
 */
interface UserApi {

    @POST("v2/login")
    fun register(@Query("login") login: String,
                 @Query("password") password:String): Observable<BaseResp<String>>
}